package Core;

public class Bonus
{
	private Object _source;
	private int _amount;
	//private SourceType _sourceType;
	//private BonusType _bonusType;
	
	public Object getSource()
	{
		return this._source;
	}
	
	public int getAmount()
	{
		return this._amount;
	}
	
	public void setAmount(int newAmount)
	{
		this._amount = newAmount;
	}
	
	public void increaseAmount(int amountToIncrease)
	{
		this.setAmount(this.getAmount() + amountToIncrease);
	}
	
	public void decreaseAmount(int amountToDecrease)
	{
		this.setAmount(this.getAmount() - amountToDecrease);
	}

	public void setSource(Object source)
	{
		this._source = source;
	}
}
